package org.lintcode_Close.Stage1_Easy_50.O4字符串查找;

/**
 * @Auther: qingle
 * @Date: 2024/8/18-19:04
 * @Description:
 * @version: 1.0
 */
public class 回文数 {

	public boolean isPalindrome(int num) {
		// write your code here
		String s = String.valueOf(num);
		return s.contentEquals(new StringBuilder(s).reverse());
	}
}
